package handler

import (
	"common"
	"core/repo"
	"core/service"
	"framework/remote"
	"game_bao/logic"
	hall "hall/handler"
)

type BaoHandler struct {
	gameService *service.GameService
	baoM        *logic.BaoManager
	base        *hall.BaseHandler
}

func (h *BaoHandler) Info(session *remote.Session, msg []byte) any {

	return common.S(nil)
}

func NewBaoHandler(r *repo.Manager, baoM *logic.BaoManager) *BaoHandler {
	return &BaoHandler{
		gameService: service.NewGameService(r),
		baoM:        baoM,
		base:        hall.NewBaseHandler(r),
	}
}
